Skip to content

Germline variant payload#15

Open
edsu7 wants to merge 4 commits intomainfrom
germline_variant_payload
Open

Germline variant payload#15
edsu7 wants to merge 4 commits intomainfrom
germline_variant_payload

Conversation

@edsu7
Copy link
Copy Markdown
Contributor

@edsu7 edsu7 commented Jun 7, 2023

No description provided.

@edsu7 edsu7 requested a review from lindaxiang June 7, 2023 13:41
payload = {
'analysisType': {
'name': 'variant_processing'
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

analysisType should be variant_calling.

"variant_class":"Germline",
'studyId': analysis_dict.get('studyId'),
'workflow': {
'workflow_name': "%s-%s" % (args.wf_name,args.tool),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's put args.tool into analysis_tools and leave workflow_name as it is.

elif re.match(r'.*.vcf.gz.tbi$', file_to_upload):
file_type = 'TBI'
file_info.update({'dataType': 'VCF Index'})
file_info['info'].update({'analysis_tools': [{key.split(":")[-1]:pipeline_info[key]} for key in pipeline_info.keys()]})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can move this pipeline_info into workflow section, and add individual tool here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants